import request from '/@/utils/request';


// 根据字典类型编码获取字典值集合
export function loginMain(data){
	return request({
		url: `/auth/token`,
        method: 'post',
        params: data
	});
}

// 获取用户信息
export function authUserInfo(file) {
	return request({
	  url: "/auth/userInfo",
	  method: "get",
	  params: file,
	});
  }
  
// 菜单
export function authUserMenus(file) {
	return request({
	  url: "/auth/userMenus",
	  method: "get",
	  params: file,
	});
  }
//  退出 
export function authLogOff(file) {
	return request({
	  url: "/auth/logOff",
	  method: "get",
	  params: file,
	});
  }